.wordcards ul:has(ul) {
  display: grid;
  grid-template-columns: repeat(auto-fill, 10em);
  grid-auto-rows: 5em;
  place-items: start center;
  justify-content: center;
  /* grid-auto-flow: column; */
}
.wordcards ul:has(ul)::after {
  content: "";
  flex: auto;
}
.wordcards ul {
  margin: 0 !important;
  padding: 0 !important;
  opacity: 0;
}

.wordcards ul:has(ul) {
  opacity: 1;
}


.wordcards li:hover>ul {
  opacity: 1;
}
.wordcards li:hover {
  cursor: pointer;
}


.wordcards ul>Li {
  border: none !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: center;
  font-size: initial !important;
}

.wordcards .list-collapse-indicator {
  display: none;
}

.wordcards .list-bullet {
  display: none;
}

.wordcards a {
  display: none;
}

.wordcards a + br{
  display: none;
}